export default [
  /**
   * 列表
   * @date     2020-03-11
   */
  {
    // 表格
    path: 'list/table',
    component: () => import('@/views/list/table/index.vue'),
    name: 'ListTable',
    meta: { title: '表格', icon: 'el-icon-document' }
  },
  {
    // 表格搜索
    path: 'list/table-search',
    component: () => import('@/views/list/table-search/index.vue'),
    name: 'ListTableSearch',
    meta: { title: '表格搜索', icon: 'el-icon-document' }
  },
  {
    // 表格分页
    path: 'list/table-pagination',
    component: () => import('@/views/list/table-pagination/index.vue'),
    name: 'ListTablePagination',
    meta: { title: '表格分页', icon: 'el-icon-document' }
  },
  {
    // 表格搜索分页
    path: 'list/table-search-pagination',
    component: () =>
      import('@/views/list/table-search-pagination/index.vue'),
    name: 'ListTableSearchPagination',
    meta: { title: '表格搜索分页', icon: 'el-icon-document' }
  },
  {
    // 表格搜索树
    path: 'list/table-search-tree',
    component: () =>
      import('@/views/list/table-search-tree/index.vue'),
    name: 'ListTableSearchTree',
    meta: { title: '表格搜索树', icon: 'el-icon-document' }
  },
  {
    // 表格搜索树编辑
    path: 'list/table-search-tree-edit',
    component: () =>
      import('@/views/list/table-search-tree-edit/index.vue'),
    name: 'ListTableSearchTreeEdit',
    meta: { title: '表格搜索树编辑', icon: 'el-icon-document' }
  },
  {
    // 表格搜索分页编辑
    path: 'list/table-search-pagination-edit',
    component: () =>
      import('@/views/list/table-search-pagination-edit/index.vue'),
    name: 'ListTableSearchPaginationEdit',
    meta: { title: '表格搜索分页编辑', icon: 'el-icon-document' }
  },
  {
    // 分栏
    path: 'list/columns',
    component: () => import('@/views/list/columns/index.vue'),
    name: 'ListColumns',
    meta: { title: '分栏', icon: 'el-icon-document' }
  },
  {
    // 分栏分类
    path: 'list/columns-category',
    component: () => import('@/views/list/columns-category/index.vue'),
    name: 'ListColumnsCategory',
    meta: { title: '分栏分类', icon: 'el-icon-document' }
  },
  {
    // 分栏分类编辑
    path: 'list/columns-category-edit',
    component: () => import('@/views/list/columns-category-edit/index.vue'),
    name: 'ListColumnsCategoryEdit',
    meta: { title: '分栏分类编辑', icon: 'el-icon-document' }
  },

  /**
   * 表单
   * @date     2020-03-11
   */
  {
    // 基本表单
    path: 'form/base',
    component: () => import('@/views/form/base/index.vue'),
    name: 'FormBase',
    meta: { title: '基本表单', icon: 'el-icon-document' }
  },
  {
    // 添加
    path: 'form/add',
    component: () => import('@/views/form/add/index.vue'),
    name: 'FormAdd',
    meta: { title: '添加', icon: 'el-icon-document' }
  },
  {
    // 编辑
    path: 'form/edit',
    component: () => import('@/views/form/edit/index.vue'),
    name: 'FormEdit',
    meta: { title: '编辑', icon: 'el-icon-document' }
  },
  {
    // 详情
    path: 'form/detail',
    component: () => import('@/views/form/detail/index.vue'),
    name: 'FormDetail',
    meta: { title: '详情', icon: 'el-icon-document' }
  },
  {
    // 循环
    path: 'form/loop',
    component: () => import('@/views/form/loop/index.vue'),
    name: 'FormLoop',
    meta: { title: '循环', icon: 'el-icon-document' }
  },
  {
    // 上传文件
    path: 'form/upload',
    component: () => import('@/views/form/upload/index.vue'),
    name: 'FormUpload',
    meta: { title: '上传文件', icon: 'el-icon-document' }
  },
  {
    // 树下拉选择
    path: 'form/tree-select',
    component: () => import('@/views/form/tree-select/index.vue'),
    name: 'FormTreeSelect',
    meta: { title: '树下拉选择', icon: 'el-icon-document' }
  },
  {
    // kind编辑器
    path: 'form/kindeditor',
    component: () => import('@/views/form/kindeditor/index.vue'),
    name: 'FormKindeditor',
    meta: { title: 'kind编辑器', icon: 'el-icon-document' }
  },
  {
    // tinymce编辑器
    path: 'form/tinymce',
    component: () => import('@/views/form/tinymce/index.vue'),
    name: 'FormKindeditor',
    meta: { title: 'tinymce编辑器', icon: 'el-icon-document' }
  },
  {
    // 设置头像
    path: 'form/setheader',
    component: () => import('@/views/form/setheader/index.vue'),
    name: 'FormSetheader',
    meta: { title: '设置头像', icon: 'el-icon-document' }
  },
  /**
   * 弹窗
   * @date     2020-03-11
   */
  {
    // 基本弹窗
    path: 'dialog/base',
    component: () => import('@/views/dialog/base/index.vue'),
    name: 'DialogBase',
    meta: { title: '基本弹窗', icon: 'el-icon-document' }
  },
  {
    // 表单弹窗
    path: 'dialog/form',
    component: () => import('@/views/dialog/form/index.vue'),
    name: 'DialogForm',
    meta: { title: '表单弹窗', icon: 'el-icon-document' }
  },
  {
    // 表单弹窗
    path: 'dialog/table',
    component: () => import('@/views/dialog/table/index.vue'),
    name: 'DialogTable',
    meta: { title: '表格弹窗', icon: 'el-icon-document' }
  },
  {
    // 图标选择
    path: 'dialog/icons',
    component: () => import('@/views/dialog/icons/index.vue'),
    name: 'DialogIcons',
    meta: { title: '图标选择', icon: 'el-icon-document' }
  },
  {
    // 添加编辑弹窗
    path: 'dialog/addedit',
    component: () => import('@/views/dialog/addEdit/index.vue'),
    name: 'AddEditDialog',
    meta: { title: '添加编辑弹窗', icon: 'el-icon-document' }
  }
]
